/**
 * 订单相关的ajax函数
*/
import axios from "@/utils/request";

//22. 获取订单列表
export const orderList= (params) =>{
    
    return axios({
        url:'/order/list',
        method:'get',
        params
    })
}



//24. 修改订单
export const editForm= (data) =>{
    
    return axios({
        url:'/order/edit',
        method:'POST',
        data,
    })
}